package work20241206_chap7.k_demo9;

/**
 * @author zdl
 * @date 2024/12/3
 */
public abstract class Role {
    private String name;

    public abstract int  attack();

    public Role() {
    }

    public Role(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
